//
//  HMEmoticonPopoView.swift
//  SinaWeibo
//
//  Created by apple on 16/10/9.
//  Copyright © 2016年 itcast. All rights reserved.
//

import UIKit

class HMEmoticonPopoView: UIView {

    @IBOutlet weak var emoticonButton: HMEmoticonButtton!
    
    @IBOutlet weak var backImageView: UIImageView!
    //增加类方法 加载该视图
    class func loadPopoView() -> HMEmoticonPopoView {
        let nib = UINib(nibName: "HMEmoticonPopoView", bundle: nil)
        let pop = nib.instantiate(withOwner: nil, options: nil).last as! HMEmoticonPopoView
        let backImage = UIImage(named: "emoticon_keyboard_magnifier", in: HMEmoticonTools.sharedEmoticonTools.sourceBundle, compatibleWith: nil)
        pop.backImageView.image = backImage
        return pop
    }

}
